package com.lsq.tucao.express.service;

import com.lsq.tucao.express.bean.po.HeartDiscuss;
import com.lsq.tucao.express.response.JsonResult;

public interface HeartDiscussService {

    /**
     * @author lsq
     * @description 根据鸡汤id分页获取其评论数据
     * @param current 页码
     * @param size 每页条数
     * @param heartId 鸡汤id
     * @return com.lsq.tucao.express.response.JsonResult
     * @create 2021/4/20 23:33
     */
    JsonResult getPageDiscussByHeartId(Integer current,Integer size,Long heartId);

    /**
     * @author lsq
     * @description 发布评论
     * @param heartDiscuss 评论实体类
     * @return com.lsq.tucao.express.response.JsonResult
     * @create 2021/4/20 23:34
     */
    JsonResult addDiscuss(HeartDiscuss heartDiscuss);

}
